import request from '@/utils/request'

// 查询层流火焰实验数据列表
export function listLaminar(query) {
  return request({
    url: 'service-ry/output/laminar/list',
    method: 'get',
    params: query
  })
}

// 查询层流火焰实验数据详细
export function getLaminar(id) {
  return request({
    url: 'service-ry/output/laminar/' + id,
    method: 'get'
  })
}

// 新增层流火焰实验数据
export function addLaminar(data) {
  return request({
    url: 'service-ry/output/laminar',
    method: 'post',
    data: data
  })
}

// 修改层流火焰实验数据
export function updateLaminar(data) {
  return request({
    url: 'service-ry/output/laminar',
    method: 'put',
    data: data
  })
}

// 删除层流火焰实验数据
export function delLaminar(id) {
  return request({
    url: 'service-ry/output/laminar/' + id,
    method: 'delete'
  })
}

// 导出层流火焰实验数据
export function exportLaminar(query) {
  return request({
    url: 'service-ry/output/laminar/export',
    method: 'get',
    params: query
  })
}